﻿package mortal.game.view.chat.chatViewData
{
    import com.gengine.utils.pools.*;
    import flash.text.engine.*;

    public class ChatCellData extends Object implements IDispose
    {
        private var _type:String;
        private var _text:String;
        private var _clsName:String;
        private var _linkUrl:String;
        private var _uid:String;
        private var _data:Object;
        private var _elementFormat:ElementFormat;

        public function ChatCellData()
        {
            return;
        }// end function

        public function init(param1:String = null, param2:String = "") : void
        {
            this._type = param1;
            this._text = param2;
            return;
        }// end function

        public function get elementFormat() : ElementFormat
        {
            return this._elementFormat;
        }// end function

        public function set elementFormat(param1:ElementFormat) : void
        {
            this._elementFormat = param1;
            return;
        }// end function

        public function get data() : Object
        {
            return this._data;
        }// end function

        public function set data(param1:Object) : void
        {
            this._data = param1;
            return;
        }// end function

        public function get type() : String
        {
            return this._type;
        }// end function

        public function set type(param1:String) : void
        {
            this._type = param1;
            return;
        }// end function

        public function get text() : String
        {
            return this._text;
        }// end function

        public function set text(param1:String) : void
        {
            this._text = param1;
            return;
        }// end function

        public function get className() : String
        {
            return this._clsName;
        }// end function

        public function set className(param1:String) : void
        {
            this._clsName = param1;
            return;
        }// end function

        public function get linkUrl() : String
        {
            return this._linkUrl;
        }// end function

        public function set linkUrl(param1:String) : void
        {
            this._linkUrl = param1;
            return;
        }// end function

        public function get uid() : String
        {
            return this._uid;
        }// end function

        public function set uid(param1:String) : void
        {
            this._uid = param1;
            return;
        }// end function

        public function dispose(param1:Boolean = true) : void
        {
            this._type = null;
            this._text = "";
            this._clsName = null;
            this._linkUrl = null;
            this._uid = null;
            this._data = null;
            this._elementFormat = null;
            ObjectPool.disposeObject(this);
            return;
        }// end function

    }
}
